package com.recipedb.sprint.service;

import java.util.List;
import java.util.Map;

public interface RewardsService {

    List<Map<String, Object>> getAvailableRewards();
    Map<String, Object> getRewardDetail(Long rewardId);
    Map<String, Object> redeemReward(Long userid, Long rewardId, Integer quantity);
    // 新增方法：通过 username 查询 userid
    Long getUserIdByUsername(String username);
}
